Recounting the Rationals: Twice!

نویسندگان

  • Roland Carl Backhouse
  • João Fernando Ferreira
چکیده

We derive an algorithm that enables the rationals to be efficiently enumerated in two different ways. One way is known and is credited to Moshe Newman; it corresponds to a deforestation of the so-called Calkin-Wilf tree of rationals. The second is new and corresponds to a deforestation of the Stern-Brocot tree of rationals. We show that both enumerations stem from the same simple algorithm. In this way, we construct a Stern-Brocot enumeration algorithm with the same time and space complexity as Newman’s algorithm.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Recounting the Rationals

It is well known (indeed, as Paul Erdős might have said, every child knows) that the rationals are countable. However, the standard presentations of this fact do not give an explicit enumeration; rather they show how to construct an enumeration. In this note we will explicitly describe a sequence b(n) with the property that every positive rational appears exactly once as b(n)/b(n+1). Moreover, ...

متن کامل

The Role of the Scholars` Tradition in Formulating Moral Propositions, with an Emphasis on Muhaqqiq Isfahani`s View

The issue of the source of ethical value is one of the most important issues in the field of metaethics. Moral philosophers have come up with different perspectives on this issue. Some Islamic thinkers, including Muhaqqiqi Isfahani, have considered the rationals` tradition as the formulating cause for moral propositions. This research is intended to emphasize on the viewpoint of Muhaqqiqi Isfah...

متن کامل

بررسی دلایل استفاده و عدم استفاده از روشهای پیشگیری از بارداری در زنان روستاهای منطقه غرب تهران در سال 73-1372

A survey was made to study the rational given by women living in rural area of west Tehran for using or not using family planning measures (1994). The purposes of this study were to investigate the reasons for using or not using family planning measures and it's relation to personal characteristics of the subjects. The Samples were grouped in smaller groups: - Those using effective family plann...

متن کامل

Closure of autobiographical memories: The effects of written recounting from first- or third-person visual perspective.

Autobiographical memories are recalled with varying degrees of psychological closure. Closure is a subjective assessment of how far a remembered experience feels resolved, and it has been suggested that one predictor of closure is the amount of emotional detail in the memory. Study 1 examined which aspect of emotional detail is important for closure, and showed that open and closed negative mem...

متن کامل

Distributions of Rationals on the Unit Interval (or, How to (mis)-Count Rationals)

The distribution of rationals on the unit interval is filled with surprises. As a child, one is told that the rationals are distributed “uniformly” on the unit interval. If one considers the entire set Q, then yes, in a certain narrow sense, this is true. But if one considers just subsets, such as the subset of rationals with “small” denominators, then the distribution is far from uniform and f...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008